package com.canis.stockmanager.repository;

import com.canis.stockmanager.domai.Account;
import com.canis.stockmanager.domai.VpnBox;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AccountRepository   extends JpaRepository<Account, Long> {
     Page<Account> findByNameContainingAndPhoneContainingAndAddressContaining(String name,String phone,String address, Pageable pageable);
     Page<Account> findByNameContaining(String name,Pageable pageable);
}